Skip to content

com.inscoper.api.RecipeElement

RecipeElement class is the abstract base class for all recipe elements. More...

Inherited by com.inscoper.api.RecipeElementEvent, com.inscoper.api.RecipeElementGroup, com.inscoper.api.RecipeElementSimple

Public Functions

Name
synchronized void delete()
void fromXML(XMLNode xml)
Load from XML.
void toXML(XMLNode xmlParent)
Save to XML.
ERecipeElementType getType()
Get the recipe element type.
int getRealType()
RecipeElement createProxy(long cPtr, boolean cMemoryOwn)
RecipeElementSimple castToRecipeElementSimple(RecipeElement recipeElement)
RecipeElementGroup castToRecipeElementGroup(RecipeElement recipeElement)
RecipeElementEvent castToRecipeElementEvent(RecipeElement recipeElement)

Protected Functions

Name
RecipeElement(long cPtr, boolean cMemoryOwn)
void swigSetCMemOwn(boolean own)
void finalize()
long getCPtr(RecipeElement obj)

Detailed Description

public class com.inscoper.api.RecipeElement;

RecipeElement class is the abstract base class for all recipe elements.

Defines the common interface for elements that can be part of a recipe.

Public Functions Documentation

function delete

public synchronized void delete()

Reimplemented by: com.inscoper.api.RecipeElementEvent.delete, com.inscoper.api.RecipeElementGroup.delete, com.inscoper.api.RecipeElementSimple.delete

function fromXML

public void fromXML(
    XMLNode xml
)

Load from XML.

Parameters:

  • xml : The XML node containing recipe element information

Exceptions:

Reimplemented by: com.inscoper.api.RecipeElementEvent.fromXML, com.inscoper.api.RecipeElementGroup.fromXML, com.inscoper.api.RecipeElementSimple.fromXML

Populates the recipe element information from an XML node.

function toXML

public void toXML(
    XMLNode xmlParent
)

Save to XML.

Parameters:

  • xmlParent : The parent XML node

Exceptions:

Reimplemented by: com.inscoper.api.RecipeElementEvent.toXML, com.inscoper.api.RecipeElementGroup.toXML, com.inscoper.api.RecipeElementSimple.toXML

Exports the recipe element information to an XML node attached to the parent XML node.

function getType

public ERecipeElementType getType()

Get the recipe element type.

Return: The type of the recipe element

Reimplemented by: com.inscoper.api.RecipeElementEvent.getType, com.inscoper.api.RecipeElementGroup.getType, com.inscoper.api.RecipeElementSimple.getType

Retrieves the type of the recipe element.

function getRealType

public int getRealType()

function createProxy

public static RecipeElement createProxy(
    long cPtr,
    boolean cMemoryOwn
)

function castToRecipeElementSimple

public static RecipeElementSimple castToRecipeElementSimple(
    RecipeElement recipeElement
)

function castToRecipeElementGroup

public static RecipeElementGroup castToRecipeElementGroup(
    RecipeElement recipeElement
)

function castToRecipeElementEvent

public static RecipeElementEvent castToRecipeElementEvent(
    RecipeElement recipeElement
)

Protected Functions Documentation

function RecipeElement

protected RecipeElement(
    long cPtr,
    boolean cMemoryOwn
)

function swigSetCMemOwn

protected void swigSetCMemOwn(
    boolean own
)

Reimplemented by: com.inscoper.api.RecipeElementEvent.swigSetCMemOwn, com.inscoper.api.RecipeElementGroup.swigSetCMemOwn, com.inscoper.api.RecipeElementSimple.swigSetCMemOwn

function finalize

protected void finalize()

Reimplemented by: com.inscoper.api.RecipeElementEvent.finalize, com.inscoper.api.RecipeElementGroup.finalize, com.inscoper.api.RecipeElementSimple.finalize

function getCPtr

protected static long getCPtr(
    RecipeElement obj
)

Updated on 2026-04-02 at 10:55:38 +0200